Buffer.backwardIterToSourceMark

Moves iter to the position of the previous [class@Mark] of the given category.

Returns %TRUE if iter was moved. If category is NULL, the previous source mark can be of any category.

class Buffer
bool
backwardIterToSourceMark
(,
string category
)

Parameters

iter TextIter

an iterator.

category string

category to search for, or %NULL

Return Value

Type: bool

whether iter was moved.

Meta